package io.renren.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import io.renren.dao.BannerDao;
import io.renren.entity.BannerEntity;
import io.renren.service.BannerService;

import java.util.List;


@Service("bannerService")
public class BannerServiceImpl extends ServiceImpl<BannerDao, BannerEntity> implements BannerService {
    @Override
    public List<BannerEntity> getBanner(){
        List<BannerEntity> list = baseMapper.getBanner();
        return list;
    }

}
